fixes package check if package is not installed yet
adds require script