updated startup.sh compatible with new system.