Modifying application start script to support Amazon EC2