Prettyprinted & self-executing

Wantedt to extend this plugin for future use. Pretty printed it.
furthermore, I did want this to be self executing