makes pre_start script only apply to glassfish