Importing some stuff
Some code inspired/borrowed from capistrano