ability to delete local scripts + some other fixes