I wonder why you need to source /usr/lib/fai/subroutines for importing the ifclass subroutine. If your scripts are bash scripts, this function should be already available. -- regards Thomas