fixed capistrano issue (path issue) and did some more nil checking on the bulk upload. Far from perfect