Fix package script execution