Fixup startup scripts and move glassfish to deployment dir