Added condition to create new paths to basic images