move basepath off options hash