changes to imgopt to not reload the proj. related to #1