Refactored the remote script executor
Removed redundant comments
Added gui elements