Fixed to work with IE and added sub-folders