Adds shebang and uses full paths for files