You need to assign X,Y, Z coordinates to origin.
Code:
origin[0] = 123 // X
origin[1] = 65 // Y
origin[2] = 1000 // Z
Also, I notice you have different commands for differentmaps. Maybe you could use one command and check the current map to know where your jail is (coordinates).
__________________