moving instructions to external file