Support for rectangles as entities and loading a different script via the command line