Running Procedure from main code from a library