update scripts for proper spacing and add main call