create_dirs was missing in the main script (linux part)