script for personal function assignment