Script form of allocation