Fix issue with ampersands on ubuntu ruby returning weird exit statuses, also added some debug logging and standardized on spaces in the library file