Remote Commands Execution before and after upload