Fixing bash scripts to handle spaces in MA_HOME and PATH variables.