library works also for scripts that requires arguments