Added generation of drush elements

Added some smart handling and addition of drush functionality