integration with optimus script