cleaned up script and dependencies