remove .rb
remove conditional
Rename variables to source and target
Include directory slash by default