def get_header():
        """
        Makes the header section for the scripts

        :rtype: str
        """
        username, userid, uname = get_user_information()

        header = '''\
# This Slurm batch script was generated
# By user: %s (%s)
# On host: %s
# At date: %s
# Using: Pyqueue v%s

''' % (username, userid, uname, datetime.now().strftime('%a. %B  %w %X %Y'), __version__)

        return header