fix rackapp script