updated pyxis script