creating motion and netrc files