Implements first part of script