initial script with broken dependencies

Initial version of script which tried to find the missing dependencies for sx