Cleaned up globals package and tested path flag