Removed old code. Made sure all .py files can be called as scripts.