Added prepareCodebase from Strings