Refactored function names

Refactored exec's

Added script download and execute capability