changed the bash script so you specify the first argument as the library you want to call Main in. i.e. application or editor.