Attempt to move deploy_me invocation at compile time

Attempt to fix tests. Adding sed cmd