Fixed image toolbox dependencies

Wrote my own tool to test code without toolboxes