Working on custom file scripts