Batch profile script