Added the perl profile code to each directory