removed save to node, added some variables for file paths, and set 'uid' to user->uid (previously hardcoded to administrator), need to check if this causes permissions errors