Changed it so it could do stand alone mode.