fixing cloudify cli service to work as main script