fixed scripts & config