fixing afs_init_script type