ignore some files and image rotation script