Modifed rails311appsvr script