added edit extract script view + minor refactorings