Added custom port number to rsync command

This PR adds the ability to use a custom port number for rsync command.