Initial implementation of PBS script generator