Updated start script with bug fixes.