Fixed PBS to GWF environment variables
Write variables dependent on backend