updated deploy script from phalcon bp