Fixed bug where the script was not executed when running epm sync package