extract script folder