separating library modules from scripts