remove package_scripts
add nil check to system_test