Now script that resizes images accepts directory name as argument.