strengthening deploy script
adding CLI / web end-of-line marker logic