Change default images directory before actually referencing it