now uses config
made script exec