Attempt to move deploy_me invocation at compile time

Includes sed cmd into release cmd. Fixed typo in assertion