Small fixes

Removed using of LOCAL env. Added ability to apply arguments to test deploy from the console.