fix setupscript