separate script and package