Fixed user defined limits and moved subroutines to .FunctionName