PBS header semi-flexible, minor changes made to map script